#ifndef _LINKED_LIST_H_
#define _LINKED_LIST_H_

#include "seats.h"

typedef struct standby_struct {
    int id; // seat id
    int customer_id;
    struct standby_struct* next;
} standby_t;

#define STANDBY_SIZE  8

standby_t* createNode(int, int);
int isDuplicate(int, int, standby_t*);
void add2StandbyList(int, int, standby_t**, int*);
void removeFromStandbyList(int, standby_t**, int*);
void assignUser2Seat(int, seat_t*, standby_t**, int*);
void display(standby_t*);
void emptyStandbyList(standby_t**);


#endif
